package com.cuijq.ms.observer.v1;

/**
 * @author by CuiJQ
 * @Classname Subject
 * @Description Subject Description
 * @Date 2021/5/28 14:55
 */
public interface Subject {

  void registerObserver(Observer observer);

  void removeObserver(Observer observer);

  void notifyObservers(Message message);
}
